﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D6F RID: 3439
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PropRogueInfo : IMessage<PropRogueInfo>, IMessage, IEquatable<PropRogueInfo>, IDeepCloneable<PropRogueInfo>, IBufferMessage
	{
		// Token: 0x17002BA2 RID: 11170
		// (get) Token: 0x06009A59 RID: 39513 RVA: 0x0019C5ED File Offset: 0x0019A7ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PropRogueInfo> Parser
		{
			get
			{
				return PropRogueInfo._parser;
			}
		}

		// Token: 0x17002BA3 RID: 11171
		// (get) Token: 0x06009A5A RID: 39514 RVA: 0x0019C5F4 File Offset: 0x0019A7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PropRogueInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002BA4 RID: 11172
		// (get) Token: 0x06009A5B RID: 39515 RVA: 0x0019C606 File Offset: 0x0019A806
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PropRogueInfo.Descriptor;
			}
		}

		// Token: 0x06009A5C RID: 39516 RVA: 0x0019C60D File Offset: 0x0019A80D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropRogueInfo()
		{
		}

		// Token: 0x06009A5D RID: 39517 RVA: 0x0019C618 File Offset: 0x0019A818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropRogueInfo(PropRogueInfo other) : this()
		{
			this.fPBHHLBJOGI_ = other.fPBHHLBJOGI_;
			this.siteId_ = other.siteId_;
			this.roomId_ = other.roomId_;
			this.oJAPCIBMGPC_ = other.oJAPCIBMGPC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009A5E RID: 39518 RVA: 0x0019C66C File Offset: 0x0019A86C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PropRogueInfo Clone()
		{
			return new PropRogueInfo(this);
		}

		// Token: 0x17002BA5 RID: 11173
		// (get) Token: 0x06009A5F RID: 39519 RVA: 0x0019C674 File Offset: 0x0019A874
		// (set) Token: 0x06009A60 RID: 39520 RVA: 0x0019C67C File Offset: 0x0019A87C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FPBHHLBJOGI
		{
			get
			{
				return this.fPBHHLBJOGI_;
			}
			set
			{
				this.fPBHHLBJOGI_ = value;
			}
		}

		// Token: 0x17002BA6 RID: 11174
		// (get) Token: 0x06009A61 RID: 39521 RVA: 0x0019C685 File Offset: 0x0019A885
		// (set) Token: 0x06009A62 RID: 39522 RVA: 0x0019C68D File Offset: 0x0019A88D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SiteId
		{
			get
			{
				return this.siteId_;
			}
			set
			{
				this.siteId_ = value;
			}
		}

		// Token: 0x17002BA7 RID: 11175
		// (get) Token: 0x06009A63 RID: 39523 RVA: 0x0019C696 File Offset: 0x0019A896
		// (set) Token: 0x06009A64 RID: 39524 RVA: 0x0019C69E File Offset: 0x0019A89E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RoomId
		{
			get
			{
				return this.roomId_;
			}
			set
			{
				this.roomId_ = value;
			}
		}

		// Token: 0x17002BA8 RID: 11176
		// (get) Token: 0x06009A65 RID: 39525 RVA: 0x0019C6A7 File Offset: 0x0019A8A7
		// (set) Token: 0x06009A66 RID: 39526 RVA: 0x0019C6AF File Offset: 0x0019A8AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OJAPCIBMGPC
		{
			get
			{
				return this.oJAPCIBMGPC_;
			}
			set
			{
				this.oJAPCIBMGPC_ = value;
			}
		}

		// Token: 0x06009A67 RID: 39527 RVA: 0x0019C6B8 File Offset: 0x0019A8B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PropRogueInfo);
		}

		// Token: 0x06009A68 RID: 39528 RVA: 0x0019C6C8 File Offset: 0x0019A8C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PropRogueInfo other)
		{
			return other != null && (other == this || (this.FPBHHLBJOGI == other.FPBHHLBJOGI && this.SiteId == other.SiteId && this.RoomId == other.RoomId && this.OJAPCIBMGPC == other.OJAPCIBMGPC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009A69 RID: 39529 RVA: 0x0019C734 File Offset: 0x0019A934
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.FPBHHLBJOGI != 0U)
			{
				num ^= this.FPBHHLBJOGI.GetHashCode();
			}
			if (this.SiteId != 0U)
			{
				num ^= this.SiteId.GetHashCode();
			}
			if (this.RoomId != 0U)
			{
				num ^= this.RoomId.GetHashCode();
			}
			if (this.OJAPCIBMGPC != 0U)
			{
				num ^= this.OJAPCIBMGPC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009A6A RID: 39530 RVA: 0x0019C7BE File Offset: 0x0019A9BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009A6B RID: 39531 RVA: 0x0019C7C6 File Offset: 0x0019A9C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009A6C RID: 39532 RVA: 0x0019C7D0 File Offset: 0x0019A9D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.OJAPCIBMGPC != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.OJAPCIBMGPC);
			}
			if (this.SiteId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.SiteId);
			}
			if (this.FPBHHLBJOGI != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.FPBHHLBJOGI);
			}
			if (this.RoomId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.RoomId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009A6D RID: 39533 RVA: 0x0019C864 File Offset: 0x0019AA64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.FPBHHLBJOGI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FPBHHLBJOGI);
			}
			if (this.SiteId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SiteId);
			}
			if (this.RoomId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RoomId);
			}
			if (this.OJAPCIBMGPC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OJAPCIBMGPC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009A6E RID: 39534 RVA: 0x0019C8EC File Offset: 0x0019AAEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PropRogueInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.FPBHHLBJOGI != 0U)
			{
				this.FPBHHLBJOGI = other.FPBHHLBJOGI;
			}
			if (other.SiteId != 0U)
			{
				this.SiteId = other.SiteId;
			}
			if (other.RoomId != 0U)
			{
				this.RoomId = other.RoomId;
			}
			if (other.OJAPCIBMGPC != 0U)
			{
				this.OJAPCIBMGPC = other.OJAPCIBMGPC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009A6F RID: 39535 RVA: 0x0019C964 File Offset: 0x0019AB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009A70 RID: 39536 RVA: 0x0019C970 File Offset: 0x0019AB70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 72U)
				{
					if (num == 48U)
					{
						this.OJAPCIBMGPC = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.SiteId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.FPBHHLBJOGI = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.RoomId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003B6C RID: 15212
		private static readonly MessageParser<PropRogueInfo> _parser = new MessageParser<PropRogueInfo>(() => new PropRogueInfo());

		// Token: 0x04003B6D RID: 15213
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003B6E RID: 15214
		public const int FPBHHLBJOGIFieldNumber = 12;

		// Token: 0x04003B6F RID: 15215
		private uint fPBHHLBJOGI_;

		// Token: 0x04003B70 RID: 15216
		public const int SiteIdFieldNumber = 9;

		// Token: 0x04003B71 RID: 15217
		private uint siteId_;

		// Token: 0x04003B72 RID: 15218
		public const int RoomIdFieldNumber = 14;

		// Token: 0x04003B73 RID: 15219
		private uint roomId_;

		// Token: 0x04003B74 RID: 15220
		public const int OJAPCIBMGPCFieldNumber = 6;

		// Token: 0x04003B75 RID: 15221
		private uint oJAPCIBMGPC_;
	}
}
